#coding:utf-8
import pickle, pprint
def store(data,model):
    output = open('qa/interface/app/log/rundata/data_%s.pkl'%model, 'wb')
    pickle.dump(data, output)
def load(value,model):
    pkl_file = open('qa/interface/app/log/rundata/data_%s.pkl'%model, 'rb')
    data = pickle.load(pkl_file)[value]
    pkl_file.close()
    return data

# print load('blued_feedback','blued')